package java_test;

public class Test {
	public static void main(String[] args) {
		int[] score = {58,98,56,71,100};
		for(int j = 0; j <score.length-1; j++){
			for(int i=j+1; i<score.length;i++){
				if(score[j] < score[i]){
					int t = score[j];
					score[j] = score[i];
					score[i] = t;
					
				}
			}
		}
		for (int i : score) {
			System.out.println(i+" ");
		}
		
	}
}
